RWTH - Mindstorms NXT Toolbox

COM_MakeBTConfigFile

Creates a Bluetooth configuration file which is needed to open a Bluetooth connection.

Contents

Syntax

COM_MakeBTConfigFile()

Description

COM_MakeBTConfigFile() starts a user guided dialog window to select the output directory, the file name and the Bluetooth paramters like e.g. COM port.

The little program creates a specific Bluetooth configuration file for the current PC system. Make sure the configuration file is accessible under MATLAB if you try to open a Bluetooth connection using COM_OpenNXT and the correct file name.

Example

   COM_MakeBTConfigFile();

   handle = COM_OpenNXT('bluetooth.ini', 'check');

See also

COM_OpenNXT, COM_CloseNXT, COM_OpenNXTEx

Signature